package ch.mustaffah.aoide.gui;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.JTextField;

public class AoideScoreDisplayPanel extends JPanel implements View{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JTextField displayBox;

	public AoideScoreDisplayPanel(){
		initializeView();
	}

	public void initializeView() {
		setBackground(Color.white);
		this.add(getDisplayBox());
		setVisible(true);
	}

	public JTextField getDisplayBox() {
		if(displayBox==null){
			displayBox=new JTextField();
			displayBox.setPreferredSize(new Dimension(300,30));
		}
		return this.displayBox;
	}
	
	
}
